
import { request } from "@/http/axios"




export function shoplist(params) {
  return request({
    url: "/admin/shop/list",
    method: "get",
    params
  })
}

export function createshop(data) {
  return request({
    url: "/admin/shop/create",
    method: "post",
    data
  })
}

/** 查 */
export function deleteTableDataApi(params) {
  return request({
    url: "/admin/tota",
    method: "get",
    params
  })
}



export function updateTableDataApi(data) {
  return request({
    url: `/admin/shop/update/${data.id}`,
    method: "put",
    data
  })
}

export function adminupload(data) {
  return request({
    url: "/admin/upload",
    method: "post",
    data
  })
}





